armv8: add cpu core helper functions
authorPeng Fan <[email protected]>
Thu, 18 Oct 2018 12:28:17 +0000 (14:28 +0200)
committerStefano Babic <[email protected]>
Mon, 22 Oct 2018 10:59:01 +0000 (12:59 +0200)
commitfa64d8429b525f7db2e22ed67d1d3c682e89078c
tree71e50d9a4d14e10545240b1d8f621444fd5480a9
parent5710a48afc0fbc5a90727404f1da1df52af99c46
armv8: add cpu core helper functions

Add helper functions to identify different armv8 variants.

Signed-off-by: Peng Fan <[email protected]>
Reviewed-by: Anatolij Gustschin <[email protected]>
Cc: Stefano Babic <[email protected]>
arch/arm/include/asm/armv8/cpu.h [new file with mode: 0644]